<?php
/*
  $Id$

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2010 osCommerce

  Released under the GNU General Public License
*/


    require('loginScript.php');

// redirect the customer to a friendly cookie-must-be-enabled page if cookies are disabled (or the session has not started)
  if ($session_started == false) {
    tep_redirect(tep_href_link(FILENAME_COOKIE_USAGE));
  }
  require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_LOGIN);



?>





<h1><?php echo HEADING_TITLE; ?></h1>



<div id="error">
 </div>


<div class="contentContainer">
    <h2><?php echo HEADING_RETURNING_CUSTOMER; ?></h2>

    <form name="login" id="login" method="post">
    <fieldset>
        <legend><?php echo TEXT_RETURNING_CUSTOMER; ?></legend>
        <?php echo tep_draw_input_field('formid',tep_output_string($sessiontoken),' id="formid"','hidden'); ?>
        <label for="email_address"><?php echo ENTRY_EMAIL_ADDRESS; ?></label>
        <?php echo tep_draw_input_field('email_address','jake.seymour@gmail.com',' id="email_address"'); ?>

        <label for="password"><?php echo ENTRY_PASSWORD; ?></label>
        <?php echo tep_draw_password_field('password','',' id="password"'); ?>
        <?php echo tep_draw_button(IMAGE_BUTTON_LOGIN, 'key', null, 'primary'); ?>
        <a href="<?php echo tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') ?>"><?php echo TEXT_PASSWORD_FORGOTTEN; ?></a>
    </fieldset>
    </form>
</div>

<div class="contentContainer">
    <h2><?php echo HEADING_NEW_CUSTOMER; ?></h2>
    <p><span><?php echo TEXT_NEW_CUSTOMER_INTRODUCTION; ?><span> <a href="<?php echo(tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL')); ?>">Create an Account</a></p>
</div>

